using System;
using System.Web.Mail;
using System.Data;

namespace Umbraco.Ecommerce.Deprecated
{
	/// <summary>
	/// Summary description for Common.
	/// </summary>
	public class Common
	{
		public Common()
		{}

		public static void AddDeliveryCosts(BusinessLogic.Order o) {
			BusinessLogic.OrderLine ol = new BusinessLogic.OrderLine();
			ol.Price = BusinessLogic.Store.GetDeliveryCost(o.TotalIncVAT).Price;
			ol.ProductId = "Leveringsomkostninger";
			ol.ProductName = "Leveringsomkostninger";
			ol.Quantity = 1;
			o.AddOrderLine(ol);
		}
	}
}
